\hypertarget{class_question}{
\section{Question Class Reference}
\label{class_question}\index{Question@{Question}}
}
{\tt \#include $<$Security.h$>$}

Inherited by \hyperlink{class_math_question}{MathQuestion}, and \hyperlink{class_text_question}{TextQuestion}.

Collaboration diagram for Question:\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{class_question_2e1167d0407c7530b4f7a7492d0050d0}{Question} ()
\item 
virtual \hyperlink{class_question_8d9283fb5357e39ed58a743f18629040}{$\sim$Question} ()
\item 
void \hyperlink{class_question_76c8f2f94fd7412a171d51d49d72309b}{makeQuestion} ()
\item 
string \hyperlink{class_question_6c5bb67ddc2f5571f710d92764c8dfd7}{getQuestion} ()
\item 
string \hyperlink{class_question_f3f8d8834e22610c573b8b8d79d906d4}{getAnswer} ()
\item 
virtual void \hyperlink{class_question_e69e0852defc240240515364ea4de4cc}{generateQuestion} ()=0
\item 
virtual void \hyperlink{class_question_93f5663d5afa6ad01304dba8c15b1edb}{generateAnswer} ()=0
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
string \hyperlink{class_question_f9cc0a7133ecb765c39305e3009336bd}{question}
\item 
string \hyperlink{class_question_5ac6b9d7372ae777aa9a23f1a96993ab}{answer}
\item 
\hyperlink{class_random_numbers}{RandomNumbers} \hyperlink{class_question_773111ef0e257c5912b2a17999122ae9}{random}
\end{CompactItemize}


\subsection{Detailed Description}
This class represents the base class for the Template method. It serves as an interface to create specific questions using various algorithms.

Derived classes must override \hyperlink{class_question_e69e0852defc240240515364ea4de4cc}{generateQuestion()} and \hyperlink{class_question_93f5663d5afa6ad01304dba8c15b1edb}{generateAnswer()}. They should also take care to set answer and question for use by the \hyperlink{class_question}{Question} class's associate. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_question_2e1167d0407c7530b4f7a7492d0050d0}{
\index{Question@{Question}!Question@{Question}}
\index{Question@{Question}!Question@{Question}}
\subsubsection[{Question}]{\setlength{\rightskip}{0pt plus 5cm}Question::Question ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{class_question_2e1167d0407c7530b4f7a7492d0050d0}


\hypertarget{class_question_8d9283fb5357e39ed58a743f18629040}{
\index{Question@{Question}!$\sim$Question@{$\sim$Question}}
\index{$\sim$Question@{$\sim$Question}!Question@{Question}}
\subsubsection[{$\sim$Question}]{\setlength{\rightskip}{0pt plus 5cm}Question::$\sim$Question ()\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{class_question_8d9283fb5357e39ed58a743f18629040}




\subsection{Member Function Documentation}
\hypertarget{class_question_93f5663d5afa6ad01304dba8c15b1edb}{
\index{Question@{Question}!generateAnswer@{generateAnswer}}
\index{generateAnswer@{generateAnswer}!Question@{Question}}
\subsubsection[{generateAnswer}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Question::generateAnswer ()\hspace{0.3cm}{\tt  \mbox{[}pure virtual\mbox{]}}}}
\label{class_question_93f5663d5afa6ad01304dba8c15b1edb}




Implemented in \hyperlink{class_math_question_56e0a333f6c0a4cd4b0dd085d1da8495}{MathQuestion}, and \hyperlink{class_text_question_08bb47c2f438323091d794e41681804a}{TextQuestion}.\hypertarget{class_question_e69e0852defc240240515364ea4de4cc}{
\index{Question@{Question}!generateQuestion@{generateQuestion}}
\index{generateQuestion@{generateQuestion}!Question@{Question}}
\subsubsection[{generateQuestion}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Question::generateQuestion ()\hspace{0.3cm}{\tt  \mbox{[}pure virtual\mbox{]}}}}
\label{class_question_e69e0852defc240240515364ea4de4cc}




Implemented in \hyperlink{class_math_question_bc5ed19b01c84619cec897afd33de951}{MathQuestion}, and \hyperlink{class_text_question_cb2e60fbc81af4c3254445415782b0dc}{TextQuestion}.\hypertarget{class_question_f3f8d8834e22610c573b8b8d79d906d4}{
\index{Question@{Question}!getAnswer@{getAnswer}}
\index{getAnswer@{getAnswer}!Question@{Question}}
\subsubsection[{getAnswer}]{\setlength{\rightskip}{0pt plus 5cm}string Question::getAnswer ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{class_question_f3f8d8834e22610c573b8b8d79d906d4}


\hypertarget{class_question_6c5bb67ddc2f5571f710d92764c8dfd7}{
\index{Question@{Question}!getQuestion@{getQuestion}}
\index{getQuestion@{getQuestion}!Question@{Question}}
\subsubsection[{getQuestion}]{\setlength{\rightskip}{0pt plus 5cm}string Question::getQuestion ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{class_question_6c5bb67ddc2f5571f710d92764c8dfd7}


\hypertarget{class_question_76c8f2f94fd7412a171d51d49d72309b}{
\index{Question@{Question}!makeQuestion@{makeQuestion}}
\index{makeQuestion@{makeQuestion}!Question@{Question}}
\subsubsection[{makeQuestion}]{\setlength{\rightskip}{0pt plus 5cm}void Question::makeQuestion ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{class_question_76c8f2f94fd7412a171d51d49d72309b}




\subsection{Member Data Documentation}
\hypertarget{class_question_5ac6b9d7372ae777aa9a23f1a96993ab}{
\index{Question@{Question}!answer@{answer}}
\index{answer@{answer}!Question@{Question}}
\subsubsection[{answer}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf Question::answer}\hspace{0.3cm}{\tt  \mbox{[}protected\mbox{]}}}}
\label{class_question_5ac6b9d7372ae777aa9a23f1a96993ab}


\hypertarget{class_question_f9cc0a7133ecb765c39305e3009336bd}{
\index{Question@{Question}!question@{question}}
\index{question@{question}!Question@{Question}}
\subsubsection[{question}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf Question::question}\hspace{0.3cm}{\tt  \mbox{[}protected\mbox{]}}}}
\label{class_question_f9cc0a7133ecb765c39305e3009336bd}


\hypertarget{class_question_773111ef0e257c5912b2a17999122ae9}{
\index{Question@{Question}!random@{random}}
\index{random@{random}!Question@{Question}}
\subsubsection[{random}]{\setlength{\rightskip}{0pt plus 5cm}{\bf RandomNumbers} {\bf Question::random}\hspace{0.3cm}{\tt  \mbox{[}protected\mbox{]}}}}
\label{class_question_773111ef0e257c5912b2a17999122ae9}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
/Users/hitokiri/Documents/Code/pam\_\-quiz/\hyperlink{_security_8h}{Security.h}\item 
/Users/hitokiri/Documents/Code/pam\_\-quiz/\hyperlink{_question_8cpp}{Question.cpp}\end{CompactItemize}
